#!/bin/bash
echo 'Computing APDF2D...'
echo 'Granularity:' $1
echo 'Threshold:' $2

./apdf2d "emptyFile" $1 $2 > data.dat

gnuplot grid.gnu
gnuplot apdf.gnu
